package com.cn.demo.springboot.shiro.entity;

import java.io.Serializable;
import java.util.List;

/**
 * shiro 登录实体如需更多字段可直接继承该类
 * @author admin
 *
 */
public class ShiroUser implements Serializable {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7114295697244186351L;

	private String userId;
	
	private String userName;
	
	private String password;
	
	private List<String> permissions;
	
	

	public ShiroUser() {
		super();
	}

	public ShiroUser(String id, String username, String password, List<String> permissions) {
		super();
		this.userId = id;
		this.userName = username;
		this.password = password;
		this.permissions = permissions;
	}





	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<String> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<String> permissions) {
		this.permissions = permissions;
	}
}
